<div class="pagination" style="width:100%">
    <div style="text-align:center;">
        <!-- First page link -->
        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('page' => $this->first)); ?>"><?php echo $this->translate('pagination-start');?></a> |
        <?php else: ?>
                <span class="disabled"><?php echo $this->translate('pagination-start');?></span> |
        <?php endif; ?>

        <!-- Previous page link -->

        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('page' => $this->previous)); ?>">&laquo; <?php echo $this->translate('pagination-previous');?></a> |
        <?php else: ?>
            <span class="disabled">&laquo; <?php echo $this->translate('pagination-previous');?></span> |
        <?php endif; ?>
        <!-- Numbered page links -->
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php if ($page != $this->current): ?>
                <a class="number" href="<?php echo $this->url(array('page' => $page)); ?>"><?php echo $page; ?></a>
            <?php else: ?>
                <a class="current bold" href="<?php echo $this->url(array('page' => $page)); ?>"><?php echo $page; ?></a>
            <?php endif; ?>
        <?php endforeach; ?>
        <!-- Next page link -->
        <?php if (isset($this->next)): ?>
              | <a href="<?php echo $this->url(array('page' => $this->next)); ?>"><?php echo $this->translate('pagination-next');?> &raquo;</a> |
        <?php else: ?>
            | <span class="disabled"><?php echo $this->translate('pagination-next');?> &raquo;</span> |
        <?php endif; ?>
        <!-- Last page link -->
        <?php if (isset($this->next)): ?>
              <a href="<?php echo $this->url(array('page' => $this->last)); ?>"><?php echo $this->translate('pagination-end');?></a>
        <?php else: ?>
            <span class="disabled"><?php echo $this->translate('pagination-end');?></span>
        <?php endif; ?>
        &nbsp; <?php echo $this->translate('pagination-page');?>: <?php echo $this->current; ?> <?php echo $this->translate('pagination-total');?>: <?php echo $this->last; ?>
    </div>
 </div>